phpseclib3\Math\BigInteger\Engines\Engine D

Total Complexity 172
Dependencies 10
Dependents 2
Total lines 1,201
Lines of code 626
Logical lines of code 424
Comment lines 308
Methods 42
Properties 11

Methods 42

Method Rating Maintainability Complexity Lines of code
__construct()
C
37 26 69
setupIsPrime()
A
47 12 40
slidingWindow()
A
44 10 41
randomRangePrimeInner()
A
51 9 30
testPrimality()
A
51 9 26
rootInner()
A
48 8 36
bitwise_leftRotate()
S
48 7 30
toBytesHelper()
S
57 7 15
powModOuter()
S
57 6 16
randomRangeHelper()
S
49 5 30
modInverseHelper()
S
59 5 14
bitwise_not()
S
52 4 22
base256_lshift()
S
57 4 15
toBits()
S
63 5 9
randomRangePrimeOuter()
S
61 4 12
rootHelper()
S
62 4 12
createRecurringModuloFunction()
S
55 3 20
setModExpEngine()
S
62 4 10
maxHelper()
S
63 4 10
minHelper()
S
63 4 10
bitwise_split()
S
60 3 13
extendedGCDHelper()
S
52 2 27
minMaxBits()
S
57 2 16
setPrecision()
S
63 2 11
jsonSerialize()
S
68 2 7
__wakeup()
S
66 2 8
__debugInfo()
S
67 2 7
__sleep()
S
67 2 8
isPrime()
S
71 2 6
root()
S
80 1 3
bitwiseAndHelper()
S
65 1 8
bitwiseOrHelper()
S
65 1 8
__toString()
S
81 1 3
toHex()
S
80 1 3
randomPrime()
S
75 1 4
random()
S
75 1 4
getLengthInBytes()
S
80 1 3
getLength()
S
80 1 3
bitwise_rightRotate()
S
80 1 3
setBitmask()
S
76 1 3
getPrecision()
S
82 1 3
bitwiseXorHelper()
S
65 1 8